package com.sc.nft.entity.dto;

import com.sc.nft.enums.UserConsensusTypeEnums;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
public class UserCollectionConsensusBatchUpdateDTO {


    @ApiModelProperty(value = "生态藏品Id", required = true)
    @NotNull(message = "请选择转入的生态藏品")
    private Long collectionId;

    @ApiModelProperty(value = "备注", required = true)
    private String remark;

    @ApiModelProperty(value = "操作类型", required = true)
    @NotNull(message = "请选择操作类型")
    private UserConsensusTypeEnums type;

    @ApiModelProperty(value = "调整共识度数据")
    private List<@Valid UserCollectionConsensusBatchUpdateListDTO> dataList;

}
